package com.zheng.作业02;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        System.out.println("请输入学号");
        String newId=s.next();
        System.out.println("请输入姓名");
        String newName=s.next();
        System.out.println("请输入身高");
        double newshengg=s.nextDouble();
        System.out.println("输入年龄");
        int newage=s.nextInt();
        Student stu=new Student(newId,newName,newage,newshengg);
        System.out.println(stu);
    }
}
